<?php
require_once 'Computer.php';

$ram = "512MB";
$cpu = "P4_2GHz";
$HDD = "Sam sung 60GB";
$price = 4000;
$quantity = 5;
$total = $quantity * $price;

$computer = new Computer($ram, $cpu, $HDD, $price);
/*$computer->setRam($ram);
$computer->setHdd($HDD);
$computer->setPrice($price);
$computer->setCpu($cpu);*/

echo $computer->getRam()."<br />";
echo $computer->getCpu()."<br />";
echo $computer->getHdd()."<br />";
echo $computer->getPrice()."<br />";
echo $computer->sum(5)." USD <br />";
echo "<br />";